/* Reset some basic defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-image: url('Background.png'); /* Replace with your image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* keeps the bg image from scrolling */
  background-repeat: no-repeat;
  color: #333;
}

/* Header & Navigation */
header {
  background-color: #556b2f; /* Dark olive green */
  padding: 1rem 0;
}
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
}
.nav-links li {
  margin: 0 1rem;
}
.nav-links a {
  color: #f5f5f0;
  text-decoration: none;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(rgba(85,107,47,0.8), rgba(85,107,47,0.8)), url('hero-background.jpg') no-repeat center/cover;
  color: #fff;
  text-align: left;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem; /* space between image and text */
  max-width: 1000px;
}

.hero-image {
  height: 150px; 
  width: auto;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
}

/* Sections */
section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}

/* Gallery Grid */
.gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.grid-item {
  position: relative;
  overflow: hidden;
}
.grid-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}
.grid-item:hover img {
  transform: scale(1.05);
}
.grid-caption {
  position: relative;
  bottom: 0;
  background: rgba(85,107,47,0.8);
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 0.5rem 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.grid-item:hover .grid-caption {
  opacity: 1;
}
/* Modal */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background-color: #e8e4d0;
  color: #333;
  margin: 10% auto;
  padding: 2rem;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
  text-align: center;
  border-radius: 10px;
  position: relative;
}

.modal-content img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* Projs */
.blog .post {
  background: #e8e4d0;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-left: 5px solid #556b2f;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.blog .post h3 {
  margin-bottom: 0.5rem;
}
.blog .post a {
  color: #556b2f;
  text-decoration: none;
}

/* About Section */
.about {
  background: #e8e4d0; /* Pale earthy brown */
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #556b2f;
  color: #f5f5f0;
}